module.exports = {
  // publicPath: "./",
  publicPath: process.env.NODE_ENV === 'production' ? '/dist/' : '/',
  configureWebpack: {
    performance: {
      hints: "warning",
      maxEntrypointSize: 50000000,
      maxAssetSize: 30000000,
      assetFilter: function(assetFilename) {
        return assetFilename.endsWith(".js");
      },
    },
  },
  devServer: {
    port: "8888",
  },
};
